package cloud.xlh.my_system.service;

import cloud.xlh.my_system.common.response.Response;
import cloud.xlh.my_system.pojo.DatabaseRequest;
import cloud.xlh.my_system.pojo.GenTable;
import cloud.xlh.my_system.pojo.PageRequest;
import cloud.xlh.my_system.pojo.Project;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : code-generator
 * @ Author: XuLeHuang
 * @ Date: 2022/6/20 15:35
 * @ Description:
 */
public interface GenTableService {
    Response<Map> QueryGenTableByCondition(DatabaseRequest databaseRequest);

    Response<String> importTable(String tables , String databaseId);

    List<GenTable> findAllTableByDatabaseName(String dbName);

    List<GenTable> findAllTableByDatabaseId(String databaseId);

    void deleteGenTableByGenTableId(String tableId);
}
